#parse("society_theme/header.html")



<header id="description"  style="height:450px;">
    <div id="site-header">
        <a href="../" title="博客" rel="home">博客</a>
    </div>
</header>
<div id="information" class="info block">
                <a href="../"><img src="http://staticstore.file.alimmdn.com/codenote_theme_activeness3/indexFiles/cropped-33-1.jpg" class="avatar" data-pinit="registered" width="140" height="140" alt=""></a>
                <p class="description"><a href="../" title="博客" rel="home">点击添加一句话</a></p>
</div>
<div class="container" id="content">

<div class="article-list">
	<div class="main" id="thumbs">
	<article id="$article.id" class="block post">
	<span class="round-date red">
<!-- <span class="month">11月</span><span class="day">13</span> -->
<script>
var str0='$time';
document.write("<span class='month'>"+parseInt(str0.substring(5,7))+"月</span>");
document.write("<span class='day'>"+parseInt(str0.substring(8,11))+"</span>");
</script>

	</span>
	<header class="entry-header">
	<p class="title">$article.title</p>
	<div class="ui ribbon label red"><a href="../category/$article.category" rel="category tag" target="_blank">$article.category</a></div>
	</header> 

	<div id="zoom" class="article-content red">
	<p>$article.content</p>

	</div> 
	<!--点赞start-->
	 <div class="feed" id="feed1"><div class="heart " id="like1" rel="like" style><div class="likeCount" id="likeCount1">$article.popularPoint</div></div> </div>
	<script type="text/javascript">
	$(document).ready(function(){

	$('body').on("click",'.heart',function(){
		
		var A=$(this).attr("id");
		var B=A.split("like");
		var messageID=B[1];
		var C=parseInt($("#likeCount"+messageID).html());
		$(this).css("background-position","")
		var D=$(this).attr("rel");
	   
		if(D === 'like') {      
			$("#likeCount"+messageID).html(C+1);
			$(this).addClass("heartAnimation").attr("rel","unlike");
			
			//提交数据
			var newpost=new Object();
			newpost.code=1;
			newpost.id=$article.id;
			$.ajax({
			 type: 'POST',
			 url: '/article/like',
			 data: newpost,
			 dataType: "json",
			 success: function(data){
			 //alert(data.result);         
			}});
		}
		else{
			$("#likeCount"+messageID).html(C-1);
			$(this).removeClass("heartAnimation").attr("rel","like");
			$(this).css("background-position","right");
			
			//提交数据
			var newpost=new Object();
			newpost.code=3;
			newpost.id=$article.id;
			$.ajax({
			 type: 'POST',
			 url: '/article/like',
			 data: newpost,
			 dataType: "json",
			 success: function(data){
			 //alert(data.result);         
			}});
		}
	});

});
     </script>	
	<!--点赞end-->
	</article>



<div id="respond" class="comment-respond"  >



  
  <!--HyperComments-->
#parse("air_theme/comment.html")
 <!--HyperComments-->
  

<!-- 旧的评论样式
<h3 id="reply-title" class="comment-reply-title">发表评论 <small><a rel="nofollow" id="cancel-comment-reply-link" href="../2017/11/13/10/#respond" style="display:none;">取消回复</a></small></h3>			<form action="../wp-comments-post.php" method="post" id="commentform" class="comment-form">
<p class="comment-notes"><span id="email-notes">电子邮件地址不会被公开。</span> 必填项已用<span class="required">*</span>标注</p><div class="field"> <textarea id="comment-content" name="comment" cols="45" rows="8" aria-required="true" placeholder="回复内容 (必填)"></textarea></div><div class="two fields"><div class="field"><input id="author" name="author" type="text" value="" size="30" placeholder="称呼 (必填)"></div>
<div class="field"><input id="email" name="email" type="email" value="" size="30" placeholder="电子邮箱 (必填)"></div></div>
<div class="field"><input id="url" name="url" type="url" value="" size="30" placeholder="个人主页"></div>
<p class="form-submit"><input name="submit" type="submit" id="submit" class="submit" value="提交评论 (Ctrl + Enter)"> <input type="hidden" name="comment_post_ID" value="30" id="comment_post_ID">
<input type="hidden" name="comment_parent" id="comment_parent" value="0">
</p></form>-->
</div>  
</div>  

#parse("society_theme/right_border.html")

 
 

</div>  
</div>  

#parse("air_theme/weicuncai.html")

	<footer id="colophon" role="contentinfo">
		<div class="container">
        <p>© 2018 <a href="../">博客</a>.Theme By <a href="http://blog.ageme.info/">Amativeness</a>.</p>
    <p>设计风格参考<a href="http://www.dandyweng.com/" target="_blank">Dandy Weng</a></p>
    </div>
	</footer><!-- #colophon -->
<!-- #page
<script src="http://staticstore.image.alimmdn.com/codenote_theme_activeness3/readPageFiles/script.js"></script> -->
<script type="text/javascript" src="http://staticstore.image.alimmdn.com/codenote_theme_activeness3/readPageFiles/comment-reply.min.js"></script>
<script type="text/javascript" src="http://staticstore.image.alimmdn.com/codenote_theme_activeness3/readPageFiles/navigation.js"></script>
<script type="text/javascript" src="http://staticstore.image.alimmdn.com/codenote_theme_activeness3/readPageFiles/wp-embed.min.js"></script>
<script type="text/javascript">$(".module-cmt-float-bar").hide();</script>
<script src="http://staticstore.file.alimmdn.com/codenote_theme_activeness3/readPageFiles/marked.min.js?t=1526475783556"></script>
 <script type="text/javascript">
      $(document).ready(function(){
        //文章内容为markdownflag0+markdown地址+markdownflag1格式，将markdown转成html
        var string1=$("#zoom").html();
        if(string1.indexOf("markdownflag") >= 0){
        	/markdownflag0(.*?)markdownflag1/.test(string1);
        	var string2=RegExp.$1;
        	$.get(string2, function(response, status, xhr){ $("#zoom").html(marked(response)); 
        })};//document.createStyleSheet("https://raw.githubusercontent.com/jwsky/markdowncss/master/markdowncss_github_style_blue_by_jwsky/markdowncss_github_style_blue_by_jwsky.css");
 
      });
    </script>
<div id="qtk-flagship" version="v17.11.15"></div></body></html>